package com.xqboss.apps.dto.consumer;

import com.xqboss.apps.dto.PageDto;
import com.xqboss.apps.enums.consumer.InteractMsgEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 互动消息表
 *
 * @author wangcong
 * @date 2023-08-31
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("互动消息Dto")
public class ConsumerInteractMsgDto extends PageDto {

    @ApiModelProperty("互动消息id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("源id")
    private Long sourceId;

    @ApiModelProperty("状态 0_未读,1_已读")
    private Integer status;

//    @ApiModelProperty("消息类型 好友（0申请添加,1同意,2拒绝）队伍（3申请加入,4邀请加入,5同意加入,6拒绝加入,7退出队伍,8管理员变更,9增益结算,10点赞,11送爱心,12提现打卡,13打卡成功）打卡（14即将打卡）")
    private InteractMsgEnum type;

    @ApiModelProperty("互动消息数组")
    private List<Long> ids;
}